/**
 * Copyright (c) 2012-2014, Yang Yang <cntototo@gmail.com>
 *
 * This software may be distributed under the terms of the New BSD License.
 * See README for more details.
 */

#ifndef DISPATCHER_H
#define DISPATCHER_H

#include "def.h"

struct wfs_iface;

/**
 * wfs_dispatch -- Dispatch each command to corresponding receiver
 */
enum wfs_internal_err wfs_dispatch(struct wfs_cmd *cmd,
		struct wfs_iface *cur_if, char **resp, int *resp_len);

#endif /* DISPATCHER_H */
